import type { Iroute } from "../../types"

//导入接口
import manage from "./manage"
import serverData from "./serverData"
import common from "./common"
import detailSetup from "./detailSetup"
import queryData from "./queryData"

const URL = "/serverBackup"

//访问路径,对应方法
const routes: Array<Iroute> = [{
  url: URL + "/manage",
  fn: manage
},{
  url:URL + "/serverData",
  fn:serverData
},{
  url:URL + "/detailSetup",
  fn:detailSetup
}
,{
  url:URL + "/common",
  fn:common
},{
  url:URL + "/queryData",
  fn:queryData
}]

export default routes
